<div class="settings index">
	
	<h2>
		<?php echo $this->Html->image("/admin/images/icons/icon_settings.png"); ?>
		<?php echo __('Settings'); ?>
	</h2>

	<?php echo $this->Html->link(__('Edit'), array('action' => 'edit'), array('class' => 'button edit')); ?>
	
	<div class="tabs">
		<ul>
			<?php foreach($configKeys as $groupName => $group): ?>
			<li><a href="#<?php echo $groupName ?>"><?php echo $groupName; ?></a></li>
			<?php endforeach; ?>
		</ul>
		<?php foreach($configKeys as $groupName => $group): ?>
		<div id="<?php echo $groupName ?>">
			<dl>
			<?php foreach($group as $key): ?>
			<?php $keyName = $groupName.".".$key; ?>
				<dt><?php echo $key; ?></dt>
				<dd><?php echo isset($settings[$keyName]) ? $settings[$keyName] : __("N/A"); ?></dd>
			<?php endforeach; ?>
			</dl>
		</div>
		<?php endforeach; ?>
	</div>
	
</div>

<?php //pr($configKeys); ?>